<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width,user-scalable=no">
	<title>注册</title>
	<link rel="stylesheet" type="text/css" href="css/reset.css">
	<link rel="stylesheet" type="text/css" href="css/style.css">
    <script type="text/javascript">
    (function (doc, win) {
        var docEl = doc.documentElement,
            resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize',
            recalc = function () {
                var clientWidth = docEl.clientWidth;
                if (!clientWidth) return;
                if (clientWidth < 640) {
                    docEl.style.fontSize = 100 * (clientWidth / 640) + 'px';
                };
            };
        if (!doc.addEventListener) return;
        win.addEventListener(resizeEvt, recalc, false);
        doc.addEventListener('DOMContentLoaded', recalc, false);
    })(document, window);
    </script>
	
	<script type="text/javascript" language="javascript">
		
		function _register(){
		
			$("#_registerForm").submit();
		}
		
	</script>
	
</head>


<body style="background-color: #D1A465;">
<div class="grid-640 viewport">
    <div class="member-wrap">
        <div class="logo-wrap">
            <img style="width:1.9rem; margin-left:0.3rem;" src="images/logo2.png">
        </div>

		<form action="user.php?act=act_register" method="post" name="_registerForm" id="_registerForm">

        <div class="member-item mt2">
		
		
            <ul class="member-from-list">
                <li>
				
				<input name="username" type="text" id="username" autocomplete="off" placeholder="用户名"/>
            	<span id="username_notice" style="color:#FF0000"> *</span>
				
				</li>
				
                <li style="position: relative;">				
					
					 <input name="email" type="text" id="email" autocomplete="off" placeholder="email"/>
            		<span id="email_notice" style="color:#FF0000"> *</span>
					
                </li>
                <li>
				
					<input name="password" type="password" id="password1" autocomplete="off" placeholder="密码"/>
					<span style="color:#FF0000" id="password_notice"> *</span>
				
				</li>
				
                <li>
					
					 <input name="confirm_password" type="password" id="conform_password" autocomplete="off" placeholder="确认密码"/>
            		<span style="color:#FF0000" id="conform_password_notice"> *</span>
					
				</li>
				
				
				<!-- {foreach from=$extend_info_list item=field} -->
				
				<!-- {if $field.id eq 6} -->
				
					<li>
				
					 <select name='sel_question'>
					  <option value='0'>请选择密码提示问题</option>
					  {html_options options=$passwd_questions}
					  </select>
					
					</li>
					
					
					 <li>					
						
						<input name="passwd_answer" type="text" id="passwd_answer" autocomplete="off" placeholder="密码问题答案"/>
						<!-- {if $field.is_need} --><span style="color:#FF0000"> *</span><!-- {/if} -->
						
					</li>
					
				<!-- {else} -->
				
					<li>					
						
						<input name="extend_field{$field.id}" type="text" id="extend_field{$field.id}" autocomplete="off" placeholder="{$field.reg_field_name}"/>
						<!-- {if $field.is_need} --><span style="color:#FF0000"> *</span><!-- {/if} -->
						
					</li>
				
				<!-- {/if} -->
				
				<!-- {/foreach} -->
				
            </ul>
			
            <div class="member-item-bnt">
				
				<input name="act" type="hidden" value="act_register" >
				 <input type="hidden" name="back_act" value="{$back_act}" />
			
                <span onClick="_register();">立即注册</span>
				
            </div>

            <div class="other-link">
                <a href="user.php?act=login"><img src="images/go1.png">已有账号</a>
            </div>
        </div>
		
		</form>
		
    </div>
</div>

<script src='js/jquery.js'></script>
</body>
</html>